# from src.util.bfs import bfs
# from src.util.move_mouse import move_mouse_to
from src.util.screen_shot import screenshot_region_to_file

# rooms = {
#     'room1': {'right': 'room2', 'down': 'room3'},
#     'room2': {'left': 'room1', 'down': 'room4'},
#     'room3': {'up': 'room1', 'right': 'room4'},
#     'room4': {'up': 'room2', 'left': 'room3', 'right': 'boss'},
#     'boss': {}
# }
#
# print(bfs(rooms, 'room1', 'boss'))  # 输出: ['room1', 'room2', 'room4', 'boss']


# move_mouse_to((0, 0, 1920, 1080), 50, 50)

img = screenshot_region_to_file((0, 0, 100, 100), 'screenshot.png')

open(img)